package org.oschina.api.user.active.vo;

import org.oschina.Constants;
import org.oschina.api.user.user.vo.UserVo;
import org.oschina.bean.BaseBean;
import org.oschina.helper.query.annotation.Cache;
import org.oschina.helper.query.annotation.Table;

@Table(name=Constants.DB_USER_ACTIVE)
@Cache(name=Constants.CACHE_USER_ACTIVE,timeout=Constants.TIMEOUT_USER_ACTIVE)
public class UserActiveVo extends BaseBean {

	private Integer id;
	private UserVo author;
	private Integer major;
	private String title;
	private String content;
	private UserActiveTypeVo type;
	private Long create_time;
	
	public Integer getId() {
		return id;
	}
	public UserVo getAuthor() {
		return author;
	}
	public Integer getMajor() {
		return major;
	}
	public String getTitle() {
		return title;
	}
	public String getContent() {
		return content;
	}
	public UserActiveTypeVo getType() {
		return type;
	}
	public Long getCreate_time() {
		return create_time;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public void setAuthor(UserVo author) {
		this.author = author;
	}
	public void setMajor(Integer major) {
		this.major = major;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public void setType(UserActiveTypeVo type) {
		this.type = type;
	}
	public void setCreate_time(Long createTime) {
		create_time = createTime;
	}
}